projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28c9f3d
)
widget path: Don't leak sibling paths
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 15 Sep 2015 23:31:00 +0000
(19:31 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 15 Sep 2015 23:33:49 +0000
(19:33 -0400)
gtk/gtkwidgetpath.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwidgetpath.c
b/gtk/gtkwidgetpath.c
index 092ae6df09c997eb6a558a360aa0581ac7dbe6f2..0c309d3d8d784a37c77b9d970c29ffbb771bd483 100644
(file)
--- a/
gtk/gtkwidgetpath.c
+++ b/
gtk/gtkwidgetpath.c
@@
-217,6
+217,8
@@
gtk_widget_path_unref (GtkWidgetPath *path)
elem = &g_array_index (path->elems, GtkPathElement, i);
gtk_css_node_declaration_unref (elem->decl);
+ if (elem->siblings)
+ gtk_widget_path_unref (elem->siblings);
}
g_array_free (path->elems, TRUE);